<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
    <h1>员工信息表</h1>
   <table border="1px" width="90%">
        <tr>
             <td>ID</td>
             <td>姓名</td>
             <td>所属部门</td>
             <td>头像</td>
             <td>出生日期</td>
             <td>入职时间</td>
             <td>相关操作</td>
        </tr>
         <?php
      foreach ($emplist as $k) {
      
   ?>
   <tr>
             <td><?php echo $k['e_id']?></td>
             <td><?php echo $k['e_name']?></td>
             <td><?php echo $k['e_dept']?></td>
             <td><img src="<?php echo $k['e_img']?>"/></td>
             <td><?php echo $k['date_of_birth']?></td>
             <td><?php echo $k['date_of_entry']?></td>
             <td><a href="#">编辑</a> &nbsp;&nbsp; <a href="#">删除</a></td>
        </tr>
        <?php
    }
        ?>
   </table>
</body>
</html>